﻿@using IBS.Model
@model IEnumerable<IBS.Model.AutoPayment>
@{
    ViewBag.Title = "Payment";
    Layout = "~/Views/Shared/_AutoPayment_Menu.cshtml";
}

<h2>Maintenance</h2>
<div id='tree'></div>
@*<form id='statementForm' action="Statements" method="POST">
<input type="hidden" id="cardNumber" value="@ViewBag.AutoPayment.CardNumber"/>
<input type="hidden" id="paymentId" value="@ViewBag.AutoPayment.PaymentId"/>
</form>*@
<div id="grid-example"></div>
@section statementScript {
    <script type="text/javascript">
         $(function () {
             $('tbody tr').live('hover', function () {
                 $(this).toggleClass('clickable');
             }).live('click', function () {
                 $("#autoPaymentStatementMenuItem").removeClass('invisible');
             });
         });
     </script>
     <script src="@Url.Content("~/Scripts/commonFunctions.js")" type="text/javascript"></script>
  
      <script src="@Url.Content("~/Scripts/autoPaymentsGrid.js")" type="text/javascript"></script>
     
    
}
